home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / xlib05.zip / XPBITMAP.H < prev    next >
C/C++ Source or Header  |  1993-08-25  |  2KB  |  64 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XPBITMAP - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ; ****** Aeronautical Research Laboratory              ****************
  11. ; ****** Defence Science and Technology Organisation   ****************
  12. ; ****** Australia                                     ****************
  13. ;
  14. ; egg@dstos3.dsto.gov.au
  15. ; teg@bart.dsto.gov.au
  16. ;
  17. ;  Terminology & notes:
  18. ;         VRAM ==   Video RAM
  19. ;         SRAM ==   System RAM
  20. ;         X coordinates are in pixels unless explicitly stated
  21. ;
  22. ;-----------------------------------------------------------------------*/
  23.  
  24. #ifndef _XPBITMAP_H_
  25. #define _XPBITMAP_H_
  26.  
  27.  
  28. /* FUNCTIONS =========================================================== */
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34.  
  35.  void x_put_masked_pbm(  /* Copy a planar bitmap from SRAM masking */
  36.               WORD X,    /* only non zero pixels to VRAM           */
  37.               WORD Y,
  38.               WORD ScrnOffs,
  39.               BYTE far * Bitmap);
  40.  
  41.  void x_put_pbm(         /* Copy a planar bitmap from SRAM to VRAM */
  42.               WORD X,
  43.               WORD Y,
  44.               WORD ScrnOffs,
  45.               BYTE far * Bitmap);
  46.  
  47.  void x_get_pbm(         /* Copy a planar bitmap from VRAM to SRAM */
  48.               WORD X,
  49.               WORD Y,
  50.               BYTE Bw,
  51.               BYTE Bh,
  52.               WORD ScrnOffs,
  53.               BYTE far * Bitmap);
  54.  
  55.  
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59.  
  60.  
  61. #endif
  62.  
  63.  
  64.